package com.fenghuajueli.lib_data.entity.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class TargetDbEntity {

    @Id(autoincrement = true)
    private Long id;

    @Unique
    private long create_time;

    private long daka_time;
    private int state; //0:未开始 1:未完成 2:已完成
    private int resPosition;
    private int daka_count;
    private long start_time;
    private long end_time;
    private String target_name;
    private int total_days;
    @Generated(hash = 308989355)
    public TargetDbEntity(Long id, long create_time, long daka_time, int state,
            int resPosition, int daka_count, long start_time, long end_time,
            String target_name, int total_days) {
        this.id = id;
        this.create_time = create_time;
        this.daka_time = daka_time;
        this.state = state;
        this.resPosition = resPosition;
        this.daka_count = daka_count;
        this.start_time = start_time;
        this.end_time = end_time;
        this.target_name = target_name;
        this.total_days = total_days;
    }
    @Generated(hash = 1682622386)
    public TargetDbEntity() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public long getCreate_time() {
        return this.create_time;
    }
    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }
    public long getDaka_time() {
        return this.daka_time;
    }
    public void setDaka_time(long daka_time) {
        this.daka_time = daka_time;
    }
    public int getState() {
        return this.state;
    }
    public void setState(int state) {
        this.state = state;
    }
    public int getResPosition() {
        return this.resPosition;
    }
    public void setResPosition(int resPosition) {
        this.resPosition = resPosition;
    }
    public int getDaka_count() {
        return this.daka_count;
    }
    public void setDaka_count(int daka_count) {
        this.daka_count = daka_count;
    }
    public long getStart_time() {
        return this.start_time;
    }
    public void setStart_time(long start_time) {
        this.start_time = start_time;
    }
    public long getEnd_time() {
        return this.end_time;
    }
    public void setEnd_time(long end_time) {
        this.end_time = end_time;
    }
    public String getTarget_name() {
        return this.target_name;
    }
    public void setTarget_name(String target_name) {
        this.target_name = target_name;
    }
    public int getTotal_days() {
        return this.total_days;
    }
    public void setTotal_days(int total_days) {
        this.total_days = total_days;
    }

}
